package com.xingzhe.pengji.security.services;

import java.util.List;

/**
 * @Title ： 三江学院 毕业设计
 * @Description ：
 * @author ：LuFengLiang
 * @Company: IT行者工作室
 * @Copyright: Copyright (c) 2012-2-24
 * @version ： 1.0
 * @param <T>
 */
public interface AuthoriteService<T>
{

    public List<T> queryForPageAuthoriteList(T entity, String sortByColumn, int pageSize, int pageNumber,
            boolean sortAsc);

    public void saveAuthorite(T entity);

    public void updateAuthorite(T entity);

    public int getItemCount(T entity);

    public void delAuthorite(T entity);

    public T getAuthoriteByName(T entity);

    public T getAuthoriteById(T entity);
    
    public List<String> getAllAuthoritieName();

}
